<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class Role extends Model
{
    public function profile(){
        return $this->hasOne(Auth::class,'role_id','id')->bind([
            'smid'
        ]);
    }
}
